CC=g++
OBJ=manager.o manager_view_impl.o manager_ctrl_impl.o manager_mode_impl.o department.o employee.o service_view_impl.o service_ctrl_impl.o service_mode_impl.o emis.o tools.o main.o
BIN=emis
STD=-std=gnu++0x
INCLUDE=-I.
LIB=-lm
FLAG=-Wall -Werror
all:$(OBJ)
	$(CC) -o $(BIN) $(OBJ) $(LIB)
%.o:%.c
	$(CC) $(STD) $(FLAG) -c $< -o $@ $(INCLUDE)
clean:
	rm -rf $(BIN) $(OBJ) 
